package appmodel.event;

import appmodel.ControllerEventType;
import appmodel.ShapeControllerEvent;
import model.Shape;

public class AShapeEvent implements ShapeControllerEvent {

    private final ControllerEventType controllerEventType;
    private final Shape shape;


    public AShapeEvent(ControllerEventType controllerEventType, Shape shape) {
        this.controllerEventType = controllerEventType;
        this.shape = shape;
    }

    public ControllerEventType getType() {
        return controllerEventType;
    }

    public Shape getShape() {
        return shape;
    }
}
